/**
 * 
 */
package oldtrigger;

/**
 * @author Philip
 *
 */
public abstract class TriggerFlagger implements Trigger {
	protected Trigger trigger;

	public TriggerFlagger(Trigger trigger) {
		this.trigger = trigger;
	}
	
	public String getTrigger() {
		return trigger.getTrigger();
	}
	
	public String getResponse() {
		return trigger.getResponse(0);
	}
	
	public String getResponse(int line) {
		return trigger.getResponse(line);
	}
	
	public int linesInResponse() {
		return trigger.linesInResponse();
	}
	
	public boolean triggers(String text) {
		return trigger.triggers(text);
	}
	
	public void setReceiver(String receiver) {
		trigger.setReceiver(receiver);
	}
	
	public String getReceiver() {
		return trigger.getReceiver();
	}
}
